package com.diors.game.engine.arpg.skill.effect;

import com.diors.game.engine.arpg.object.AbstractObject;
import com.diors.game.engine.arpg.skill.model.SkillEffectModel;

/**
 * 抽象的效果类
 * @author	darren.ouyang <ouyang.darren@gmail.com>
 * @date	2013年11月28日
 * @version 1.0
 * @copyright Copyright (c) 2013, darren.ouyang
 */
public abstract class AbstractEffect 
{
	
	
	
	public void cast(AbstractObject attack, AbstractObject target, SkillEffectModel model)
	{
		castImpl(attack, target, model);
	}
	
	protected abstract void castImpl (AbstractObject attack, AbstractObject target, SkillEffectModel model);
}
